import { ChartData } from './bean';

const data:ChartData[] = [
  {
    id: 1,
    title: "气泡图",
    props: {
      type: "bubble",
      opts: {
        color: ["#1890FF","#91CB74","#FAC858","#EE6666","#73C0DE","#3CA272","#FC8452","#9A60B4","#ea7ccc"],
        padding: [15,15,0,15],
        enableScroll: false,
        legend: {},
        xAxis: {
          disableGrid: false,
          gridType: "dash",
          splitNumber: 5,
          boundaryGap: "justify",
          min: 0,
          max: 250
        },
        yAxis: {
          disableGrid: false,
          gridType: "dash",
          data: [
            {
              min: 0,
              max: 150
            }
          ]
        },
        extra: {
          bubble: {
            border: 2,
            opacity: 0.5
          }
        }
      },
      charData: {
        series: [
          {
            name: "气泡一",
            data: [[95,95,23,"标题1"],[30,55,33,"标题2"]]
          },
          {
            name: "气泡二",
            data: [[130,30,30,"标题3"],[200,90,40,"标题4"]]
          }
        ]
      }
    }
  },
]

export default  data;